package cn.cit.training.data.service;

import cn.cit.training.data.entity.CitData;
import cn.cit.training.data.vo.ChartInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 数据表 服务类
 * </p>
 *
 * @author
 * @since 2020-09-01
 */
public interface CitDataService extends IService<CitData> {

    CitData getOneById(int id);

    CitData getOneByPId(int id);

    IPage<CitData> getCitDataPage(int pageSize, int currentPage, String field, int min, int max);

    ChartInfo getChartData(int min, int max);

    boolean deleteCitData(int id);

    boolean updateCitData(CitData citData);
}
